﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PilotProject
{
    public partial class TestQuestion
    {

        public TestQuestion() { }

        public TestQuestion(Question _question, Test test,int order)
        {
            this.Question = _question;
            this.Test = test;
            this.Id = Guid.NewGuid();
            this.QuestionOrder = order; 
            //this.Question.Id = _question.Id;
            //this.Test.Id = test.Id;
        }


        public List<Option> Options
        {
            get
            {
                return Question.Options.ToList(); 
            }
        }


    }
}
